package com.sq.bootshiro.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sq.bootshiro.modules.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    Set<Permission> findPermissionListByRoleId(@Param("roleId") String roleId);
}
